package com.fjb.pojo.product;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 产品属性sku
 * </p>
 *
 * @author hemiao
 * @since 2020-02-02
 */
public class ProductAttributeSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 主账号id
     */
    private Integer mainUserId;

    /**
     * 产品id
     */
    private Integer productId;

    private String attrTitleCode;

    /**
     * 一级属性  code
     */
    private String attrCodeOne;

    /**
     * 一级属性  code
     */
    private String attrCodeTwo;

    /**
     * 数量
     */
    private Integer skuCount;

    /**
     * 单价
     */
    private BigDecimal skuPrice;

    /**
     * 商家编码
     */
    private String skuCode;

    private Integer createUserId;

    private LocalDateTime createTime;

    private Integer updateUserId;

    private LocalDateTime updateTime;

    /**
     * 属性级别
     */
    private Integer attrLevel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getMainUserId() {
        return mainUserId;
    }

    public void setMainUserId(Integer mainUserId) {
        this.mainUserId = mainUserId;
    }
    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }
    public String getAttrTitleCode() {
        return attrTitleCode;
    }

    public void setAttrTitleCode(String attrTitleCode) {
        this.attrTitleCode = attrTitleCode;
    }
    public String getAttrCodeOne() {
        return attrCodeOne;
    }

    public void setAttrCodeOne(String attrCodeOne) {
        this.attrCodeOne = attrCodeOne;
    }
    public String getAttrCodeTwo() {
        return attrCodeTwo;
    }

    public void setAttrCodeTwo(String attrCodeTwo) {
        this.attrCodeTwo = attrCodeTwo;
    }
    public Integer getSkuCount() {
        return skuCount;
    }

    public void setSkuCount(Integer skuCount) {
        this.skuCount = skuCount;
    }
    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }
    public String getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(String skuCode) {
        this.skuCode = skuCode;
    }
    public Integer getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Integer createUserId) {
        this.createUserId = createUserId;
    }
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
    public Integer getUpdateUserId() {
        return updateUserId;
    }

    public void setUpdateUserId(Integer updateUserId) {
        this.updateUserId = updateUserId;
    }
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
    public Integer getAttrLevel() {
        return attrLevel;
    }

    public void setAttrLevel(Integer attrLevel) {
        this.attrLevel = attrLevel;
    }

    @Override
    public String toString() {
        return "ProductAttributeSku{" +
        "id=" + id +
        ", mainUserId=" + mainUserId +
        ", productId=" + productId +
        ", attrTitleCode=" + attrTitleCode +
        ", attrCodeOne=" + attrCodeOne +
        ", attrCodeTwo=" + attrCodeTwo +
        ", skuCount=" + skuCount +
        ", skuPrice=" + skuPrice +
        ", skuCode=" + skuCode +
        ", createUserId=" + createUserId +
        ", createTime=" + createTime +
        ", updateUserId=" + updateUserId +
        ", updateTime=" + updateTime +
        ", attrLevel=" + attrLevel +
        "}";
    }
}
